package day0308;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

public class OOSDemo {
    public static void main(String[] args) throws IOException {
        //对象流读写对象---------------Student+OOSDemo+OISDemo
      //  Student st =new Student("张三",18,"男",new String[]{"1","2"});
        FileOutputStream fos =new FileOutputStream("note.txt");
        ObjectOutputStream oos =new ObjectOutputStream(fos);
     //   oos.writeObject(st);
        System.out.println("完毕");

    }
}
